package net.sf.nlp.ltag.persistence;

import java.util.List;
import java.util.Map;

import net.sf.nlp.ltag.data.ExtractedTree;
import net.sf.nlp.ltag.data.LTAGTree;

public interface LTAGPersistence 
{
	public void createConnection() throws Exception ;
	public void close() throws Exception ;
	
	public Map<String, List<LTAGTree>> loadTrees();
	public void saveTrees(List<ExtractedTree> etrees) throws Exception;
}
